From: Jeremy Bicha Date: Mon, 3 Dec 2012 15:59:28 +0000 (-0500) Subject: js: Use proper Unicode ellipsis (…) instead of three dots X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4901 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2a5f8e84bb0906eddf4e4e4fe29df8b838357273;p=gnome-shell.git js: Use proper Unicode ellipsis (…) instead of three dots https://bugzilla.gnome.org/show_bug.cgi?id=689542 --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 0874fa0bf..1c09c29eb 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -566,7 +566,7 @@ const SessionList = new Lang.Class({ box.add_actor(this._triangle); let label = new St.Label({ style_class: 'login-dialog-session-list-label', - text: _("Session...") }); + text: _("Session…") }); box.add_actor(label); this._button.connect('clicked', diff --git a/js/ui/overview.js b/js/ui/overview.js index 75b8f7ed6..a49d73697 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -215,7 +215,7 @@ const Overview = new Lang.Class({ in the search entry when no search is active; it should not exceed ~30 characters. */ - hint_text: _("Type to search..."), + hint_text: _("Type to search…"), track_hover: true, can_focus: true }); this._searchEntryBin = new St.Bin({ child: this._searchEntry, diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index 5df94be12..9ae993efc 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -428,7 +428,7 @@ const SearchResults = new Lang.Class({ startingSearch: function() { this.reset(); - this._statusText.set_text(_("Searching...")); + this._statusText.set_text(_("Searching…")); this._statusBin.show(); }, diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index f1b47c2ec..001f8d4ba 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -56,8 +56,8 @@ const Indicator = new Lang.Class({ this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); this._fullMenuItems = [new PopupMenu.PopupSeparatorMenuItem(), - new PopupMenu.PopupMenuItem(_("Send Files to Device...")), - new PopupMenu.PopupMenuItem(_("Set Up a New Device...")), + new PopupMenu.PopupMenuItem(_("Send Files to Device…")), + new PopupMenu.PopupMenuItem(_("Set Up a New Device…")), new PopupMenu.PopupSeparatorMenuItem()]; this._hasDevices = false; @@ -236,7 +236,7 @@ const Indicator = new Lang.Class({ } if (device.capabilities & GnomeBluetoothApplet.Capabilities.OBEX_PUSH) { - item.menu.addAction(_("Send Files..."), Lang.bind(this, function() { + item.menu.addAction(_("Send Files…"), Lang.bind(this, function() { this._applet.send_to_address(device.bdaddr, device.alias); })); } diff --git a/js/ui/status/network.js b/js/ui/status/network.js index e738a11f9..076e59a9f 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -49,7 +49,7 @@ const NM80211ApFlags = NetworkManager['80211ApFlags']; const NM80211ApSecurityFlags = NetworkManager['80211ApSecurityFlags']; // number of wireless networks that should be visible -// (the remaining are placed into More...) +// (the remaining are placed into More…) const NUM_VISIBLE_NETWORKS = 5; function macToArray(string) { @@ -549,7 +549,7 @@ const NMDevice = new Lang.Class({ if (j + activeOffset >= NUM_VISIBLE_NETWORKS) { if (!this._overflowItem) { - this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More...")); + this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More…")); this.section.addMenuItem(this._overflowItem); } this._overflowItem.menu.addMenuItem(obj.item); @@ -1432,7 +1432,7 @@ const NMDeviceWireless = new Lang.Class({ this.section.addMenuItem(apObj.item, position); } else { if (!this._overflowItem) { - this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More...")); + this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More…")); this.section.addMenuItem(this._overflowItem); } this._overflowItem.menu.addMenuItem(apObj.item, position - NUM_VISIBLE_NETWORKS); @@ -1624,7 +1624,7 @@ const NMVPNSection = new Lang.Class({ if (j >= NUM_VISIBLE_NETWORKS) { if (!this._overflowItem) { - this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More...")); + this._overflowItem = new PopupMenu.PopupSubMenuMenuItem(_("More…")); this.section.addMenuItem(this._overflowItem); } this._overflowItem.menu.addMenuItem(obj.item); diff --git a/js/ui/status/power.js b/js/ui/status/power.js index 53dc52cd4..c88700a2c 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -96,7 +96,7 @@ const Indicator = new Lang.Class({ if (time == 0) { // 0 is reported when UPower does not have enough data // to estimate battery life - this._batteryItem.label.text = _("Estimating..."); + this._batteryItem.label.text = _("Estimating…"); } else { let minutes = time % 60; let hours = Math.floor(time / 60);